jquery document load

67

document ready jquery -

// A $( document ).ready() block.
$( document ).ready(function() {
    console.log( "ready!" );
});

call a function on load jquery -

$(document).ready(function () {
  // Function code here.
});

document load complete jquery -

$( window ).load(function() {
  // Run code
});

Comments

Submit
0 Comments